<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="dk.ihk.ssgroup5.dto.User"%>
    
<% 	
	String userName = null;
	Object userObject = session.getAttribute("user");
	if(userObject != null){
		User user = (User) userObject;
		userName = user.getUserName();
	}
	else{
		response.sendRedirect("DesignServlet?pageId=1&navId=1");
		return;
	}	
%>   
 

<h3>Welcome!</h3>

<p>Hello <%=userName %>, welcome to DUH</p>
